import request from '@/utils/request'

export function updateLog(data) {
  return request({
    url: '/hisTitle/changeLoginTitle',
    method: 'put',
    data: data
  })
}

export function updateReg(data) {
  return request({
    url: '/hisTitle/changeRegisterTitle',
    method: 'put',
    data: data
  })
}
